package com.lh.Service.Impl;

import com.lh.Service.BrandService;
import com.lh.bean.Brand;
import com.lh.dao.BrandDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service

public class BrandServiceImpl implements BrandService {
    @Resource
    private BrandDao brandDao;
    public List<Brand> queryBrandList() {
        return brandDao.selectBrandList();
    }

    public List<Brand> queryBrandByCategoryName(String category_id) {
        return brandDao.selectBrandByCategoryName(category_id);
    }


}
